package core

import (
	"time"
)

type RegCenterLogin struct {
	Username string
	Password string
}

type ClusterConf struct {
	Name            string
	StartPort       uint16
	EndPort         uint16
	CenterType      string
	CenterAuth      RegCenterLogin
	CenterEndPoints []string      //注册中心的endpoints
	DialTimeout     time.Duration //连接超时秒数
	Keepalive       int64         //keepalive秒数
}
